<template>
  <div>
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="jkrName" label="借款人姓名" :show-overflow-tooltip="true"/>
      <el-table-column prop="jkrCar" label="借款人身份证" :show-overflow-tooltip="true"/>
      <el-table-column prop="jkrComp" label="合作单位" :show-overflow-tooltip="true"/>
      <el-table-column prop="bailMoney" label="担保审批金额" :show-overflow-tooltip="true"/>
      <el-table-column prop="bailTime" label="担保审批期限" :show-overflow-tooltip="true"/>
      <el-table-column prop="actualMoney" label="实际审批金额" :show-overflow-tooltip="true"/>
      <el-table-column prop="actualTime" label="实际审批期限" :show-overflow-tooltip="true"/>
      <el-table-column prop="isStat" label="当前步骤" :show-overflow-tooltip="true"/>
      <el-table-column prop="acceptTime" label="受理时间" :show-overflow-tooltip="true"/>
    </el-table>
  </div>
</template>
<script>
import { getXhphBayId } from "../../../src/assets/js/api";
export default {
  name: "BdcLookDialog",
  props: ["xhId"],
  data() {
    return {
      tableData: [],
    };
  },
  created() {
    this.getList();
  },
  methods: {
    getList() {
      let that = this
      getXhphBayId(that.xhId).then((res) => {
        if (res.code == 200) {
          that.tableData.push(res.data);
        }
      });
    },
  },
};
</script>